# -*- coding: UTF-8 -*-
# filename: yangsy.py
# author by: Face
def combine(dict1,dict2):
    return dict2.update(dict1)

dict1 = {'a': 10, 'b': 8, 'd': 7}
dict2 = {'d': 6, 'c': 4}
combine(dict1,dict2)
print(dict2)